.el-breadcrumb__inner,
.el-breadcrumb__inner a {
  font-weight: 400 !important;
}

.el-upload {
  input[type="file"] {
    display: none !important;
  }
}

.el-upload__input {
  display: none;
}

.upload-container {
  .el-upload {
    width: 100%;

    .el-upload-dragger {
      width: 100%;
      height: 200px;
    }
  }
}
.el-upload {
  --el-upload-dragger-padding-horizontal: 40px;
  --el-upload-dragger-padding-vertical: 10px;
  display: block !important;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  outline: 0;
}

.el-dropdown-menu {
  padding: 0 !important;
}

.el-range-separator {
  box-sizing: content-box;
}

.is-dark {
  z-index: 99999 !important;
}

/* 重置 el-button 中 icon 的 margin */
.reset-margin [class*="el-icon"] + span {
  margin-left: 2px !important;
}

/* 自定义 popover 的类名 */
.pure-popper {
  padding: 0 !important;
}
/*去掉input type="number"时后边的箭头 */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
}
.el-form-item__content {
  .el-input__wrapper {
    width: 160px !important;
  }
}

.el-date-editor.el-input,
.el-date-editor.el-input__wrapper {
  --el-date-editor-width: 160px;
}
.el-input-number {
  width: 100% !important;
}
.el-input-number .el-input__inner {
  text-align: left !important;
}

.el-dialog__body {
  box-sizing: border-box;
  border-top: var(--el-border-width) var(--el-border-style)
    var(--el-border-color-lighter);
  border-bottom: var(--el-border-width) var(--el-border-style)
    var(--el-border-color-lighter);
  padding-top: 20px !important;
  padding-bottom: 5px !important;
}
.auditDialog .el-dialog__body {
  padding-top: 5px !important;
}
.el-dialog__header {
  padding-top: 15px !important;
}

.el-dialog__title {
  --el-dialog-title-font-size: 16px;
  --el-text-color-primary: #333333;
  font-weight: bold;
}

.el-dialog__headerbtn {
  top: 0px !important;
}

.el-dialog__footer {
  padding-top: 15px !important;
  padding-bottom: 15px !important;
}
.el-form-item__content > div {
  width: 100%;
}
.el-form-item__label {
  font-weight: normal;
}
.editable .el-form-item__label {
  color: blue;
}
.item .el-form-item__label {
  color: blue;
}
.el-upload--text,
.el-upload--text > div {
  width: 100%;
}
.el-form-item__content {
  .uploader {
    width: 100%;
  }
  .picture-card-uploader {
    box-shadow: 0 0 0 1px var(--el-input-border-color, var(--el-border-color))
      inset;
    border-radius: var(--el-input-border-radius, var(--el-border-radius-base));
    padding: 12px;
  }
}
.el-upload-list--picture-card
  .el-upload-list__item-actions:hover
  span.el-upload-list__item-preview {
  display: none;
}
.el-upload-list--picture-card {
  --el-upload-list-picture-card-size: 96px !important;
}
.el-upload--picture-card {
  --el-upload-picture-card-size: 96px !important;
}

/* 修改表格 表头 居中 */
.el-table__header-wrapper .el-table__cell {
  text-align: center !important;
  background: var(--el-fill-color-light);
  color: var(--el-table-header-text-color);
}
.el-table__body-wrapper {
  .el-scrollbar__wrap {
    display: grid;

    .el-table__empty-text {
      .el-empty__image {
        --el-empty-image-width: 100px;
      }

      .el-empty__description {
        --el-empty-description-margin-top: 0px;
      }
    }
  }
}
.el-table {
  --el-table-header-bg-color: var(--el-fill-color-light) !important;
}
.printTable .el-table--border .el-table__inner-wrapper::after,
.printTable .el-table--border::after,
.printTable .el-table--border::before,
.printTable .el-table__inner-wrapper::before {
  background-color: #333333 !important;
}
.printTable .el-table--border .el-table__inner-wrapper::after,
.printTable .el-table--border::after,
.printTable .el-table--border::before,
.printTable .el-table__inner-wrapper::before {
  background-color: #333333 !important;
}
/* nprogress 适配 element-plus 的主题色 */
#nprogress {
  & .bar {
    background-color: var(--el-color-primary) !important;
  }

  & .peg {
    box-shadow: 0 0 10px var(--el-color-primary),
      0 0 5px var(--el-color-primary) !important;
  }

  & .spinner-icon {
    border-top-color: var(--el-color-primary);
    border-left-color: var(--el-color-primary);
  }
}
.el-steps--horizontal {
  justify-content: center;
}
.el-tree-node__content {
  font-size: 14px;
  color: --el-text-color-primary;
}
